package com.example.assetmanagement.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface DashboardMapper {

    Map<String, Object> overall();

    List<Map<String, Object>> assetStats();

    List<Map<String, Object>> maintenanceStats();

    List<Map<String, Object>> trend(@Param("start") String startDate, @Param("end") String endDate);
} 